package com.farm.equipment.states;

import com.farm.equipment.Equipment;
import com.farm.equipment.EquipmentState;

public class MaintenanceState implements EquipmentState {
    @Override
    public void start(Equipment equipment) {
        System.out.println("设备在维护状态，无法启动");
    }

    @Override
    public void stop(Equipment equipment) {
        System.out.println("设备已经在维护状态");
    }

    @Override
    public void work(Equipment equipment) {
        System.out.println("设备在维护状态，无法工作");
    }

    @Override
    public void maintain(Equipment equipment) {
        System.out.println("设备正在维护中");
    }
} 